config.h.win32.in: Update for _lock_file()
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 4 Jan 2016 07:09:14 +0000 (15:09 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 4 Jan 2016 07:09:14 +0000 (15:09 +0800)
The Visual Studio versions that we support supports locking functions in
their CRT, so support that to optimize things a bit.  Also update the
config.h.win32.in so that its entries are more in line with the ones in
the autootols builds, and make sure that we use UNIX line endings.

config.h.win32.in

index 34f05c25db3c17bb2c8d42d03c6c0aa0bcf2b03d..8269db73e2752d261eeb0b24b50e0f76f236ed80 100644 (file)
@@ -50,6 +50,9 @@
 /* Define to 1 if you have the <dlfcn.h> header file. */
 /* #undef HAVE_DLFCN_H */
 
+/* Define to 1 if you have the `flockfile' function. */
+#undef HAVE_FLOCKFILE
+
 /* Define to 1 if you have the <ftw.h> header file. */
 /* #undef HAVE_FTW_H */
 
 /* Have the SYNC extension library */
 /* #undef HAVE_XSYNC */
 
+/* Define to 1 if you have the `_lock_file' function. */
+#define HAVE__LOCK_FILE
+
 /* Define if _NL_MEASUREMENT_MEASUREMENT is available */
 /* #undef HAVE__NL_MEASUREMENT_MEASUREMENT */
 
 /* Number of bits in a file offset, on hosts where this is settable. */
 /* #undef _FILE_OFFSET_BITS */
 
-/* defines how to decorate public symbols while building */\r
+/* defines how to decorate public symbols while building */
 #ifdef _MSC_VER
 #define _GDK_EXTERN __declspec (dllexport) extern
 #else